import { stringify } from 'querystring';
import request from '@/utils/request';
import { DEFAULT_URL_RANK } from '@/constants';

export async function queryData(query, body) {
    return request(`${DEFAULT_URL_RANK}/list?${stringify(query)}`, { method: 'POST', body });
}
